import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import './assets/element-ui-theme/index.css';

Vue.use(ElementUI);

Vue.prototype.$message = function(msg){
  ElementUI.Message({...msg,duration:1000})
}
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
